<div>
    <div class="meta-section">
        <div class="meta-section-header">
            <h4 class="meta-section-header-title">筛选：</h4>
        </div>
        <div class="meta-section-container">
            <div class="meta-underline-row">
                <div class="col-lg-6 col-md-6 col-sm-6 col-xs-6" ui-view="meta-disciplineClass-control"></div>
                <div class="col-lg-6 col-md-6 col-sm-6 col-xs-6" ui-view="meta-discipline-control"></div>
                <div class="clear-float"></div>
            </div>
        </div>
    </div>
    <div class="meta-section">
        <div class="meta-section-header">
            <h4 class="meta-section-header-title">数据：共 {{listCtrl.tableParams.total}} 个主页</h4>
            <div class="meta-section-header-buttons">
                <button class="btn" ng-click="listCtrl.tableParams.showAll()"
                        ng-class="{'btn-info': !listCtrl.tableParams.isShowAll, 'btn-warning': listCtrl.tableParams.isShowAll}">
                    {{listCtrl.tableParams.showAllText}}
                </button>
            </div>
            <div class="meta-section-header-search" ui-view="meta-search"></div>
        </div>
        <div class="meta-section-container">
            <table class="table table-condensed table-striped table-bordered meta-table">
                <thead>
                <tr>
                    <th class="meta-word-4-td">用户</th>
                    <th class="meta-word-9-td">一级学科</th>
                    <th class="meta-word-11-td">二级学科</th>
                    <th>机构</th>
                    <th>部门</th>
                    <th class="meta-number-11-td">手机</th>
                    <th class="meta-date-td">注册时间<i class="fa fa-arrow-down fa-sort-ctrl active"
                                                    data-sort="created_at"></i></th>
                    <th class="meta-date-td" ng-show="listCtrl.tableParams.isShowAll">最后操作<i
                        class="fa fa-arrow-down fa-sort-ctrl" data-sort="updated_at"></i></th>
                    </th>
                    <th class="meta-icon-1-td">操作</th>
                </tr>
                </thead>
                <tbody>
                <tr ng-repeat="element in listCtrl.tableParams.data track by $index">
                    <td>{{element.user.name==null?'暂无':element.user.name}}</td>
                    <td>{{element.disciplineClass==null?'暂无':element.disciplineClass}}</td>
                    <td>{{element.discipline==null?'暂无':element.discipline}}</td>
                    <td>{{element.organization==null?'暂无':element.organization}}</td>
                    <td>{{element.department==null?'暂无':element.department}}</td>
                    <td>{{element.phone==null?'暂无':element.phone}}</td>
                    <td>{{element.createdAt | date:"yyyy-MM-dd HH:ss"}}</td>
                    <td ng-show="listCtrl.tableParams.isShowAll">{{element.updatedAt | date:"yyyy-MM-dd HH:ss"}}</td>
                    <td>
                        <i class="fa fa-edit fa-2x fa-blue"
                           ui-sref="meta.permission.research.space.detail({id:element.id})"></i>
                    </td>
                </tr>
                </tbody>
            </table>
            <div class="meta-page" ui-view="page"></div>
        </div>
    </div>
</div>
